#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>
//size_t   unsigned int
size_t my_strlen(const char* arr1)
{
	//assert(arr1 != NULL);
	assert(arr1);
	size_t count = 0;
	while (*arr1++ != '\0')
	{
		count++;
	}
	return count;
}
int main()
{
	char arr1[] = "xxx";
	printf("%zd\n", my_strlen(arr1));
	return 0;
}